aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenTupleGetTests]/[method:canGenerateCodeForTupleGet(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
blob: 920fbfa81a560aed854af532f7c769f526d2646e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Compilation unit elements:


Locals:
 * (val "tuple__0" data-ptr)
 * (val "tupleElement__2__0" int)

Instructions:

(
    (int-to-data-ptr (local "tuple__0") (local "b"))
    (
        memory-load
        (local "tupleElement__2__0")
        pointer=(local "tuple__0")
        layout=(struct (data-ptr (struct (int int int))))
        offset=(1 2)
    )
)

Temporary stack:
 * PatioLocalRef[name=tupleElement__2__0]
 * PatioLocalRef[name=a]